call pkgconfig in order to be able to cross build qtbase with MySql.
authorHelmut Grohne <helmut@subdivi.de>
Sun, 15 Aug 2021 18:32:57 +0000 (19:32 +0100)
committerDmitry Shachnev <mitya57@debian.org>
Sun, 15 Aug 2021 18:32:57 +0000 (19:32 +0100)
commitbb8d386193c735910ee7fb58714ae4751b907661
tree4c9ff93080637507456605a3c6e8c449b0de1e51
parent3986b31c48d02f46ada5211cfa9c43609e2c3179
call pkgconfig in order to be able to cross build qtbase with MySql.

Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971604
Forwarded: not-needed
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Qt's build system calls mysql_config... which won't work in a cross build
environment like Debian's, as it will throw an exec format error.

In order to solve this call pkgconfig and use mysqlclient.pc.

Gbp-Pq: Name cross_build_mysql.diff
src/plugins/sqldrivers/configure.json